<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>管理中心首页</title>
	<link rel="stylesheet" href="__PUBLIC__/admin/css/index.css" />
</head>
<body>
	<div class='content'>
		<div class='t'>
			<h3>商品类型</h3>
		</div>
		<table class='tb' >
			<tr>
				<th class="blue">类型ID</th>
				<th class="blue">类型名</th>
                                <th class="blue">操作</th>
			</tr>
                    <foreach name="data" item='da'>
			<tr>
				<td width='10%'>{$da.type_id}</td>
				<td width='40%'>{$da.name}</td>
                                <td>
                                    <a href="{:U('Type/attrAddShow',array('type_id'=>$da['type_id']))}">添加属性</a>
                                    <a href="{:U('Type/typeEditShow',array('type_id'=>$da['type_id']))}">编辑</a>
                                                       
                                    <a href="{:U('Type/typeDel',array('type_id'=>$da['type_id']))}">删除</a>
                                </td>
			</tr>
                    </foreach>
		</table>
            <div>{$page}</div>
	</div>

</body>
</html>